package com.dong.bean;

import org.springframework.context.SmartLifecycle;

/**
 * description
 *
 * @author Administrator 2021/08/30 14:27
 */
public class MySmartLifeCycle implements SmartLifecycle {

    @Override
    public boolean isAutoStartup() {
        return SmartLifecycle.super.isAutoStartup();
    }

    @Override
    public void stop(Runnable callback) {
        SmartLifecycle.super.stop(callback);
    }

    @Override
    public int getPhase() {
        return SmartLifecycle.super.getPhase();
    }

    @Override
    public void start() {

    }

    @Override
    public void stop() {

    }

    @Override
    public boolean isRunning() {
        return false;
    }
}
